package com.ht.sps.dao;

//import com.ht.sps.access.service.CardService;
import org.nutz.dao.Dao;
import org.nutz.ioc.Ioc;
import org.nutz.ioc.impl.NutIoc;
import org.nutz.ioc.loader.combo.ComboIocLoader;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: 薄成文 13-10-10 下午1:01
 * To change this template use File | Settings | File Templates.
 */
public abstract class DaoCase {
    protected Dao dao;
    protected Ioc ioc;

    @Test
    public void setUp() throws ClassNotFoundException {
//        ioc = new NutIoc(new ComboIocLoader("*org.nutz.ioc.loader.json.JsonLoader","ioc/","*org.nutz.ioc.loader.annotation.AnnotationIocLoader","com.ht.sps", "org.nutz.integration.shiro"));
//        dao = ioc.get(Dao.class, "dao");
//        CardService cardService = ioc.get(CardService.class);
//        System.out.println(cardService);
//        System.out.println("#####");
    }

}
